﻿using System;
using System.IO;
using System.Windows.Forms;

namespace EasyMirai
{
    public partial class Login : Form
    {
        public Login()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            File.WriteAllText("login.txt", "login " + textBox1.Text + " " + textBox2.Text);
            DialogResult = DialogResult.OK;
            Close();
        }
    }
}
